package com.zerui.manager.app.accessrecord.convertor;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zerui.manager.accessrecord.AccessRecord;
import com.zerui.manager.web.vo.AccessRecordVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import java.util.List;

/**
 * @author wh
 * @title: DeviceDTOConvert
 * @description:
 * @date 2023/5/05 9:42
 */
@Mapper
public interface AccessRecordVoConvert {

	AccessRecordVoConvert INSTANCE = Mappers.getMapper(AccessRecordVoConvert.class);

	Page<AccessRecordVO> covertAccessRecordToPageVO(Page<AccessRecord> accessRecordPage);

	List<AccessRecordVO> covertAccessRecordToAccessRecordVO(List<AccessRecord> accessRecordPage);
}
